package com.qdlg.tating.cotroller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 *
 * 此controller用于基本页面的跳转
 *
 * @author  ly
 * Created by Administrator on 2016/1/15 0015.
 */
@Controller
public class PagesController {
    @RequestMapping("/login")
    public String toLogin(){
        return "login";
    }

    @RequestMapping("/index")
    public String toIndex(){
        return "index";
    }

    @RequestMapping("/contacts")
    public String toContact(){
        return "contacts";
    }

}
